import axios from 'axios';
import * as url from '../constants/api';

export function login (params) {
    return axios({
        method: 'POST',
        url: url.LOGIN,
        data: params,
    });
}

export function login (params) {
    return axios({
        method: 'POST',
        url: url.LOGIN,
        data: params,
    });
}
